/*
 * UserMapper.java
 * Copyright(C) 20xx-2015 xxxxxx��˾
 * All rights reserved.
 * -----------------------------------------------
 * 2017-04-01 Created
 */
package cn.ssms.dao;

import java.util.List;
import java.util.Map;

import cn.ssms.model.User;

public interface UserMapper {
/*    int deleteByPrimaryKey(String userid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String userid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);*/

	User queryUserByTel(String tel);

	void updateUserMes(User user);

	void insertUserMes(User newuser);

	void insertUser(User newuser);

	User queryUserById(String id);

	User queryUserByToken(String tokenid);

	void updateUser(User user);

	List<User> getOrderedMember(Map<String, Object> map);
}